package com.lyj.foodiesso.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author lyj
 * @date 2020/4/7 20:58
 * @desc 描述信息
 */
@Controller
@RequestMapping("/sso")
public class SSOController {

	@GetMapping(value = "/login")
	public String login (String returnUrl, Model model, HttpServletRequest request,
						 HttpServletResponse response){
		model.addAttribute("returnUrl","www.baidu,com");
		return "login";
	}

}
